package com.rt.schedulebase.dto.esb.schedule.resquest.xray;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import lombok.Data;

import java.util.List;

/**
 * @author ljy aka ryan
 * @date 2023/3/22$ 13:02$
 * @description 放射科预约请求消息
 */
@Data
public class XRayScheduleRequestMsg {
//<MsgInfo>
//	<Msg>
//		<ELECTR_REQUISITION_NOS>
//			<ELECTR_REQUISITION_NO>16||5</ELECTR_REQUISITION_NO>
//			<ELECTR_REQUISITION_NO>16||56</ELECTR_REQUISITION_NO>
//		</ELECTR_REQUISITION_NOS>
//		<EXAM_CATEG_NAME>DX</EXAM_CATEG_NAME>
//		<EXAM_CATEG_CODE>DX</EXAM_CATEG_CODE>
//		<ROOM_ID>1234</ROOM_ID>
//		<RESERVE_EXAM_DATE>2023-01-04 15:00:00</RESERVE_EXAM_DATE>
//	</Msg>
//</MsgInfo>
//    申请单号（合并登记传多个）			ELECTR_REQUISITION_NO
//    房间id								ROOMID
//    预约时间（自动登记此预约时间后半个小时内最新的号） RESERVE_EXAM_DATE
//    检查患者来源代码					EXAM_PAT_RESOURCE_CODE
//    检查患者来源名称					EXAM_PAT_RESOURCE_NAME

    @JacksonXmlElementWrapper(localName = "ELECTR_REQUISITION_NOS")
    @JacksonXmlProperty(localName = "ELECTR_REQUISITION_NO")
    private List<String> electrRequisitionNos;

    @JacksonXmlProperty(localName = "EXAM_CATEG_NAME")
    private String ExamCategName;

    @JacksonXmlProperty(localName = "EXAM_CATEG_CODE")
    private String ExamCategCode;

    @JacksonXmlProperty(localName = "ROOM_ID")
    private String RoomId;
    /**
     * 预约时间
     */
    @JacksonXmlProperty(localName = "RESERVE_EXAM_DATE")
    private String ReserveExamDate;
}
